const state = {
  count: 0,
  // 消息列表
  messageList: [
    // 一个月前
    {_id: '1105181206098244#mini-chat_lisi@easemob.com',
      name: '小红1',
      list: [{msg: '你可以和我聊天', time: 1546851168235, read: false},
        {msg: '你今年几岁？', time: 1546851183598, read: false},
        {msg: 'w今年几岁44444444444444444444444444444444444444444444444444？', time: 1546851261161, read: true, self: true},
        {msg: 'w今年几岁444444', time: 1546851261165, read: true, self: true},
        {msg: 'w今年几岁44', time: 1546851261162, read: true},
        {msg: 'w今年几岁44444', time: 1546851261163, read: true},
        {msg: 'w今年几岁44444444？', time: 1546851261164, read: true, self: true}
      ]},
    // 昨天
    {_id: '1105181206098244#mini-chat_sjr1@easemob.com',
      name: '小红2',
      list: [
      {msg: '我会讲笑话', time: 1542002394521, read: true},
        {msg: '我会讲笑话2', time: 1542002394522, read: true},
        {msg: '我会讲笑话3', time: 1542002394523, read: true, self: true},
        {msg: '我会讲笑话4', time: 1542002394524, read: true},
        {msg: '我会讲笑话5', time: 1542002394525, read: true},
        {msg: '我会讲笑话6', time: 1542002394526, read: true, self: true},
        {msg: '我会讲笑话7', time: 1542002394527, read: true},
        {msg: '我会讲笑话8', time: 1542002394528, read: true},
        {msg: '我会讲笑话9', time: 1542002394529, read: true, self: true},
        {msg: '我会讲笑话10', time: 1542002394514, read: true},
        {msg: '我会讲笑话12', time: 1542002394534, read: true},
        {msg: '我会讲笑话13', time: 1542002394544, read: true},
        {msg: '我会讲笑话14', time: 1542002394554, read: true, self: true},
        {msg: '我会讲笑话15', time: 1542002394564, read: true},
        {msg: '我会讲笑话16', time: 1542002394574, read: true},
        {msg: '我会讲笑话17', time: 1542002394584, read: true, self: true},
        {msg: '我会讲笑话18', time: 1542002394594, read: true},
        {msg: '我会讲笑话19', time: 1542002394634, read: true},
        {msg: '我会讲笑话20', time: 1542002394734, read: true, self: true}
        ]},
    // 现在
    {_id: 'm3', name: '小红3', list: [{msg: '在吗', time: 1542072369522, read: false}, {msg: '在吗2', time: 1542072369542, read: false}]},
    // 两天前，展示星期几
    {_id: 'm4', name: '小红4', list: [{msg: '吃了吗？', time: 1541900394524, read: false}]},
    {_id: 'm5', name: '小红5', list: [{msg: '吃了吗？', time: 1541900394624, read: false}]},
    {_id: 'm6', name: '小红6', list: [{msg: '吃了吗？', time: 1541900395524, read: false}]},
    {_id: 'm7', name: '小红7', list: [{msg: '吃了吗？', time: 1541900396524, read: false}]},
    {_id: 'm8', name: '小红8', list: [{msg: '吃了吗？', time: 1541900397524, read: false}]},
    {_id: 'm9', name: '小红9', list: [{msg: '吃了吗？', time: 1541900398524, read: false}]},
    {_id: 'm10', name: '小红10', list: [{msg: '吃了吗？', time: 1541900394524, read: false}]},
    {_id: 'm11', name: '小红11', list: [{msg: '吃了吗？', time: 1541900194524, read: false}]},
    {_id: 'm12', name: '小红12', list: [{msg: '吃了吗？', time: 1541900294524, read: false}]},
    {_id: 'm13', name: '小红13', list: [{msg: '吃了吗？', time: 1541900394524, read: false}]},
    {_id: 'm14', name: '小红14', list: [{msg: '吃了吗？', time: 1541900494524, read: false}]},
    {_id: 'm15', name: '小红15', list: [{msg: '吃了吗？', time: 1541900594524, read: false}]},
    {_id: 'm16', name: '小红16', list: [{msg: '吃了吗？', time: 1541900694524, read: false}]}
  ],
  // 消息列表  data："lisinihao"  from:sjr1  to:lisi type:chat  id:一串数字
  messageList1: [],
  // 当前的聊天用户的id
  currentChatUserId: {},
  // 当前登录的用户
  currentLoginUser: {},
  // 好友列表
  friends: [
    // 一个月前
    // {_id: 'm1', name: '小红1'},
    // // 昨天
    // {_id: 'm2', name: '小红2'}
  ],
  // 当用户登录时初始化所有未读的消息列表
  unreadList: [],
  // 用户收到的所有好友请求的数组
  onPresenceFriends: [],
  // 用户的语音或者视频请求 false:没有收到 true：收到
  receiveAudio: false,
  // 发送语音消息的时候展现出来的界面
  showAudio: false,
  // 收到语音页面active的标志
  showRec: true,
  // 群组,初始化为空
  group: [
    {
      // 群成员
      affiliations: ['friendsSelected'],
      // 群人数
      affiliations_count: 3,
      // 同意申请
      allowinvites: true,
      // 创建时间
      created: 2124324,
      custom: '',
      // 群描述
      discription: '',
      id: '121',
      maxusers: 200,
      membersonly: false,
      name: '',
      owner: '',
      // 是否公开群，默认是的
      public: true,
      // 加群审批true:需要审批 false：不需要审批
      shieldgroup: false,
      groupicon: ''
    }
  ],
  // 所有群组信息
  groupInfo: [],
  // voicewaiting语音等待标志
  voiceWaiting: false,
  // 所有标签的信息
  labelInfo: [],
  // 群组消息列表
  groupMessageList: [],
  // 当前正在聊天的群聊页面
  currentChatGroup: {}
}
export default state
